*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html, body {
    height: 100%;
    overflow: hidden;
}
.order-tracking-wrapper {
    display: flex;
    height: 100vh;
    background-color: #f5f7fa;
    position: relative;
}

/* 左侧装饰元素 */
.left-decoration {
    width: 60px;
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    z-index: 1;
}

.decoration-line {
    flex: 1;
    width: 2px;
    background: linear-gradient(to bottom, #409eff, #66b1ff, #a0cfff);
    margin: 20px 0;
}

.decoration-icons {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.decoration-icons i {
    font-size: 24px;
    color: #a0cfff;
    transition: all 0.3s;
}

.decoration-icons i:hover {
    color: #409eff;
    transform: scale(1.2);
}

/* 右侧装饰元素 */
.right-decoration {
    width: 60px;
    position: fixed;
    right: 0;
    top: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    z-index: 1;
}

/* 主内容区域 */
.order-tracking-container {
    flex: 1;
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 固定头部区域 */
.fixed-header {
    background: #f5f7fa;
    padding: 20px 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

/* 顶部区域样式 */
.header-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #214b8c;
    border-radius: 8px;
    color: white;
    box-shadow: 0 2px 12px 0 rgba(64, 158, 255, 0.2);
}

.company-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.company-name {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
}

.system-time {
    font-size: 14px;
    opacity: 0.9;
}

/* 搜索区域样式 */
.search-box {
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.search-input {
    width: 100%;
}

.search-btn {
    background: linear-gradient(135deg, #409eff, #66b1ff) !important;
    border-color: #409eff !important;
    color: white !important;
}

.search-btn:hover {
    background: linear-gradient(135deg, #66b1ff, #409eff) !important;
    border-color: #66b1ff !important;
}

.search-btn:active {
    background: linear-gradient(135deg, #3a8ee6, #409eff) !important;
    border-color: #3a8ee6 !important;
}

/* 可滚动内容区域 */
.scrollable-content {
    padding: 0 20px 20px;
    flex: 1;
    overflow-y: auto;
}

/* 内容区域样式 */
.content-box {
    display: grid;
    gap: 20px;
    min-height: min-content;
}

.order-card,
.tracking-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.05);
    padding: 20px;
    border: 1px solid #ebeef5;
    position: relative;
}

.order-card::before,
.tracking-card::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    width: 4px;
    height: calc(100% - 40px);
    background: linear-gradient(to bottom, #409eff, #66b1ff);
    border-radius: 2px;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ebeef5;
}

.order-header h3 {
    margin: 0;
    color: #409eff;
    font-size: 18px;
}

.order-descriptions {
    margin-top: 15px;
}

.desc-label {
    background-color: #f5f7fa !important;
    font-weight: bold;
}

/* 跟踪信息卡片样式 */
.tracking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ebeef5;
}

.tracking-title {
    margin: 0;
    color: #e6a23c;
    font-size: 18px;
}

.refresh-btn {
    background: linear-gradient(135deg, #e6a23c, #ebb563) !important;
    border: none !important;
    color: white !important;
}

.refresh-btn:hover {
    background: linear-gradient(135deg, #ebb563, #e6a23c) !important;
}

.refresh-btn:active {
    background: linear-gradient(135deg, #cf9236, #e6a23c) !important;
}

/* 增强版时间轴样式 */
.enhanced-timeline {
    padding: 10px 0;
}

.timeline-item {
    display: flex;
    padding: 15px;
    position: relative;
    transition: all 0.3s;
    border-radius: 6px;
}

.timeline-item:hover {
    background-color: rgba(245, 247, 250, 0.8);
}

.timeline-item.active-item {
    background: rgba(103, 194, 58, 0.05);
    border-left: 3px solid #67c23a;
}

.timeline-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40px;
    position: relative;
}

.dot-core {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    color: white;
}

.dot-core.status-3 {
    background: linear-gradient(135deg, #67c23a, #85ce61);
}

.dot-core.status-2 {
    background: linear-gradient(135deg, #409eff, #66b1ff);
}

.dot-core.status-1 {
    background: linear-gradient(135deg, #e6a23c, #ebb563);
}

.dot-core.status-0 {
    background: linear-gradient(135deg, #909399, #a6a9ad);
}

.dot-line {
    flex: 1;
    width: 2px;
    background: linear-gradient(to bottom, #dcdfe6, #dcdfe6 50%, transparent 50%);
    background-size: 100% 10px;
    margin-top: 8px;
}

.timeline-content {
    flex: 1;
    padding-left: 15px;
}

.track-time {
    color: #909399;
    font-size: 14px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.track-status {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    gap: 10px;
}

.status-text {
    font-weight: bold;
    font-size: 16px;
    color: #303133;
}

.latest-tag {
    transform: scale(0.9);
}

.track-detail {
    color: #606266;
    font-size: 14px;
    background: #f9f9f9;
    padding: 8px 12px;
    border-radius: 4px;
    margin-top: 5px;
}

.detail-item {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.detail-item i {
    color: #909399;
}

.empty-timeline {
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .left-decoration,
    .right-decoration {
        display: none;
    }

    .order-tracking-container {
        padding: 0;
    }

    .header-area {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .company-brand {
        flex-direction: column;
    }

    .company-name {
        font-size: 16px;
    }

    .order-descriptions {
        :deep(.el-descriptions-item) {
            display: block;
            width: 100%;
        }
    }
}